﻿<UserControl x:Class="Oxage.Views.WatchView"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:m="clr-namespace:Oxage.Models">
  <UserControl.DataContext>
    <m:WatchViewModel />
  </UserControl.DataContext>
  <Grid x:Name="LayoutRoot">
    <Border Background="#595959" CornerRadius="3">
      <Grid Margin="4">
        <Grid.RowDefinitions>
          <RowDefinition Height="Auto" />
          <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Border Grid.Row="1" ClipToBounds="True" Margin="0,2,0,0" CornerRadius="3">
          <Border Background="#444444" CornerRadius="3">
            <ItemsControl ItemsSource="{Binding Items}" Margin="3">
              <ItemsControl.ItemTemplate>
                <DataTemplate>
                  <Border BorderThickness="0,0,0,1" BorderBrush="#808080">
                    <Grid Margin="2">
                      <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="20" />
                        <ColumnDefinition Width="50" />
                        <ColumnDefinition Width="*" />
                      </Grid.ColumnDefinitions>
                      <TextBlock Grid.Column="0" Text="{Binding Name}" Foreground="#FFE1FFAD" FontFamily="Consolas" FontSize="10pt" HorizontalAlignment="Left" />
                      <TextBlock Grid.Column="1" Text="{Binding Value}" Foreground="#FF8FBDE1" FontFamily="Consolas" FontSize="10pt" HorizontalAlignment="Left" />
                      <TextBlock Grid.Column="2" Text="{Binding Comment}" Foreground="#FF808080" FontFamily="Consolas" FontSize="10pt" HorizontalAlignment="Left" />
                    </Grid>
                  </Border>
                </DataTemplate>
              </ItemsControl.ItemTemplate>
            </ItemsControl>
          </Border>
        </Border>
      </Grid>
    </Border>
	</Grid>
</UserControl>
